package cn.donting.plugin.spring.boot.starter;

import org.springframework.context.ApplicationContext;
import org.springframework.web.servlet.DispatcherServlet;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *  PluginDispatcherServlet
 *
 * @author donting
 *  2020-04-24 下午4:30
 */
public class PluginDispatcherServlet extends  DispatcherServlet{
    public PluginDispatcherServlet(ApplicationContext applicationContext) {
        onRefresh(applicationContext);
    }
    @Override
    public void doService(HttpServletRequest request, HttpServletResponse response) throws Exception {
        super.doService(request,response);
    }
}
